{% extends "base.html" %}


{% block tiltle %}
我要汇报bug！
{% endblock %}


{% block bodycontent %}
<div id="wrapper_new">   
    <div id="content">
 <div id = 'wrapper'>
 <div id = 'room'>
 <div id = 'CALeft'>
 <div id="main-bar" class="headNormal"> <h2>感谢您在百忙之中给我们汇报bug！</h2></div>
 <div id="main-body" class="ask-body">
 <div id="askform"> 
  <form id="fmask" action="/send_bug_report" method="GET" accept-charset="utf-8">
  <div style='display:none;'><input type='hidden' id='csrfmiddlewaretoken' name='csrfmiddlewaretoken' value='41f0e10243e609bfc4edf0fc4c184238' /></div> 
			
        <!--  {% if not user %}  <div class="message" > 
                <span class="strong big">You are welcome to start submitting your question anonymously.</span> 
                <p> After submiting your question, you will be redireccted to the login/signup page. Your question will be saved in the current session and will be published after you login with your existing account,or signup for a new account.</p> 
            </div> 
         {% endif %} -->
		 
            <div class="form-item"> 
            <label for="id_title"> <strong> 标题:</strong></label>
			<span class="form-error"></span><br/>
              <input autocomplete="off" id="id_title" type="text" name="title" size="70"   value = '{{title}}'/> 
              {% if title_error %}
              <h4 class="errorlist">{{title_error}}</h4> 
              {% endif %}
               <div class="title-desc"> 
                    请输入bug的详细描述，谢谢！。
                </div> 
            </div> 
           <div id="ask-related-questions"></div> 
           <div class="form-item">  
                {% include "wmd_css.html" %}
                {% include "wmd_js.html" %}
                <div id="wmd-button-bar" class="wmd-panel"></div>
                <div><textarea rows="10" cols="40" name="description" id="wmd-input" class="processed">{%if description%}{{description}}{% endif %}</textarea></div>
                {% if description_error %}
               <h4 class="errorlist">{{description_error}}</h4> 
                {% endif %}
                <div class="preview-toggle">
                        <table width="100%">
                            <tr>
                                <td>
                                    <span id="pre-collapse" title="打开或者关闭Markdown编辑器的实时预览">
                                     <h4> 禁用预览</h4>
                                    </span>
                                </td>
                                <td style="text-align: center;" id="editor-metrics"></td>
                            </tr>
                        </table>  
                 </div>
                <div id="wmd-preview" class="wmd-panel"></div>
              <!--   <br/> <div id="wmd-output" class="wmd-panel"></div>	-->
            </div> 
            
         <div class="form-item"> 
                <strong><label for="id_tags">您的邮箱</label>:</strong> (recommended) <span class="form-error"></span><br/> 
                <input autocomplete="off" id="id_tags" type="text" name="email" size="50" value = 'email'/>  
               
            </div> 
			<p class="email"> 
				为了方便我们与您联系，请您留下邮箱，谢谢.
			</p> 
             
                                                                   
            <input  type="submit" value="提交bug" class="submit"/> 
			<input type= "reset" value = "重新设置" class = "submit"/>
          
  
  </form>
  </div>
  </div>
  </div>

 

<!--  
    <div class="boxC" id="question_side_bar"> 
    {% if user %}
    <p class="subtitle darkred">
    {% if questions %}Other questions you have asked:
    {% else %}No question has been asked .
    {% endif%}
    </p> 
    
    <ul class="list-item"> 
       {% for question in questions %}
        <li><a href = '/qa/questions/{{question.id}}/'>{{question.title}}</a></li> 
  	   {% endfor %}
    </ul> 
    {% endif %}
    <p class='info-box-follow-up-links'> 
        <a href="/qa/ask/" target="_blank">有关添加问题的详细说明 </a> 
    </p> 
    </div>  -->
</div>
    <div id="tail" style="clear:both;"> </div>
  </div>
     <div class="spacer3"></div> 
  </div>
</div>
  </div>  
{% endblock %}